<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <h:head>
        <title>Login - Síndico Online</title>
        <style>
            .ui-widget {  
                font-size: 12px !important;  
            }  
        </style>
    </h:head>
    <h:body>

        <p:fieldset legend="Autenticação">

            <h:form id="formFuncionario">
                <p:message id="msgLogin" for="msgLogin"/>
                <br/><br/>
                <h:outputLabel value="Email"/><br/>
                <h:inputText value="#{loginMB.da.email}"><br/>
                </h:inputText>
                <br/><br/>

                <h:outputLabel value="Senha"/><br/>
                <h:inputSecret value="#{loginMB.da.senha}"><br/>
                </h:inputSecret>
                <br/><br/>

                <p:commandButton value="Entrar" update=":formFuncionario" action="#{loginMB.logar()}"/>
                <br/><br/>

            </h:form>

        </p:fieldset>   

    </h:body>
</html>